<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/statics/admin/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/statics/admin/css/admin.css"/>
</head>

<body>
<form class="layui-form-pane column-content-detail" method="post"
      action="${pageContext.request.contextPath}/admin/solutionFeedbackSubmit.do?user_id=${feedback.userId}">
    <div class="layui-tab">
        <ul class="layui-tab-title">
            <li class="layui-this">添加解决方案</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <div class="layui-form-item">
                    <label class="layui-form-label">反馈编号:</label>
                    <div class="layui-input-block">
                        <label>
                            <input type="number" value="${feedback.feedbackId}" name="feedbackId" class="layui-input"
                                   required readonly/>
                        </label>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">反馈问题:</label>
                    <div class="layui-input-block">
                        <label>
                            <textarea class="layui-textarea" name="details" required
                                      readonly>${feedback.details.trim()}</textarea>
                        </label>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">提交时间:</label>
                    <div class="layui-input-block">
                        <label>
                            <input type="text" value="${feedback.submitTime}" name="submitTime" class="layui-input"
                                   required readonly/>
                        </label>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">用户ID:</label>
                    <div class="layui-input-block">
                        <label>
                            <input type="text" value="${feedback.userId}" name="userId" class="layui-input" required
                                   readonly/>
                        </label>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">解决方案:</label>
                    <div class="layui-input-block">
                        <label>
                            <textarea class="layui-textarea" placeholder="请输入解决方案" name="feedbackSolution">
                                ${feedback.feedbackSolution.trim()}
                            </textarea>
                        </label>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item" style="padding-left: 10px;">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal"
                    type="submit"
                    onclick="if (confirm('确认提交吗?') === false) return false;">
                提交
            </button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            <a style="margin: 5px" class="layui-btn layui-btn-primary"
               href="${pageContext.request.contextPath}/admin/toFeedbackDetail.do?user_id=${feedback.userId}">返回</a>
        </div>
    </div>
</form>
<script src="${pageContext.request.contextPath}/statics/admin/layui/layui.js" type="text/javascript"
        charset="utf-8"></script>
<script src="${pageContext.request.contextPath}/statics/admin/js/common.js" type="text/javascript"
        charset="utf-8"></script>
</body>
</html>
